package com.biscuit.page.basicservice.api.model.request.common;

import com.biscuit.common.base.BaseAMO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author mazihao
 * @createTime 2024/3/23 13:14
 */
@Getter
@Setter
public class CommonGetVerifyCodeAReq extends BaseAMO {

    @NotBlank(message = "缺少参数信息")
    @ApiModelProperty(value = "发送目标（手机/邮箱）")
    private String target;

    @NotNull(message = "缺少参数信息")
    @ApiModelProperty(value = "验证码业务类型")
    private Integer workType;

}
